AL MAX ACTIVE SOUNDS

This function will return the maximum number of active (i.e. playing and/or paused) sounds the current device can support. Every audio device has a limit to the number of sounds it can play at any one time, so this is useful information to know when creating things like, for example, a large army of soldiers each emitting a variety of different sounds (e.g. marching, attacking, speech, etc). Remember that stopped sounds are not counted as active in DarkAL, so there is no problem with having more than the max number of supported sounds loaded ready for playing.

  Syntax
Return Integer = AL MAX ACTIVE SOUNDS( *no parameters* )
  Parameters

No parameters required.

  Returns

Returns the maximum number of simultaneous/active sounds the current device can support at any one time.

  See also

DarkAL Functions Menu